package de.muc.vanbeek.be;

/**
 * A business entity representing an entry in the TEST table of our
 * HSQLDB.
 * 
 * TODO: Obviously we should use data types instead of generic ints, strings etc. 
 * for our fields. 
 * TODO: Obviously we should think of introducing equals and hashCode methods based on
 * our key, which is probably our id member field.
 */
public class CustomerBE {
	
	/**
	 * Since in modern IDEs you can give member variables their own color, 
	 * as local variables and method paramter, there seems to be no much sense
	 * any more to mark them with a prefix like "m". But this is still part
	 * of some coding conventions, because at least you are prevented to 
	 * mess them up despite the graphical help.
	 */
	private int mId;
	
	private String mFirstName;
	
	private String mLastName;
	
	public CustomerBE(int pId, String pFirstName, String pLastName) {
		mId = pId;
		mFirstName = pFirstName;
		mLastName = pLastName;
	}

	@Override
	public String toString() {
		return "CustomerBE [Id=" + mId + ", FirstName=" + mFirstName
				+ ", LastName=" + mLastName + "]";
	}

}
